<%--
  Created by IntelliJ IDEA.
  User: 86166
  Date: 2023/4/12
  Time: 15:56
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<c:set var="url" value="http://localhost:8080/OrderingFoodForWebMaven"></c:set>
<c:set var="ctx" value="<%=request.getContextPath()%>"></c:set>

<html>
<head>
    <title>吃了喵——用户登录</title>
</head>
<body>
<div id="container">
    <img src="${ctx}/images/user_logo.png" alt="">
    <form action="${url}/userLogin.do" method="post">
        <table>
            <tbody>
            <tr>
                <td>账号:</td>
                <td><input type="text" name="userName" id="userName"></td>
            </tr>
            <tr>
                <td>密码</td>
                <td><input type="password" name="password" id="password"></td>
            </tr>
            <tr>
                <td></td>
                <td><button type="submit">登录</button></td>
            </tr>
            </tbody>
        </table>
    </form>
    <div id="register_a"><a href="${ctx}/pages/user/register.jsp">注册</a></div>
</div>
</body>
</html>
